package com.ruoyi.webshop.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采购订单明细对象 goods_purchase_detail
 * 
 * @author ruoyi
 * @date 2024-03-17
 */
public class GoodsPurchaseDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 采购订单明细主键 */
    private Long purchaseDetailId;

    /** 采购订单 */
    @Excel(name = "采购订单")
    private Long purchaseId;

    /** 细分商品 */
    @Excel(name = "细分商品")
    private Long skuId;

    /** 数量 */
    @Excel(name = "数量")
    private Long purchaseDetailCount;

    /** 价格 */
    @Excel(name = "价格")
    private Long purchaseDetailPrice;

    private String skuTitle;

    private String goodsName;

    public String getSkuTitle() {
        return skuTitle;
    }

    public void setSkuTitle(String skuTitle) {
        this.skuTitle = skuTitle;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public void setPurchaseDetailId(Long purchaseDetailId)
    {
        this.purchaseDetailId = purchaseDetailId;
    }

    public Long getPurchaseDetailId() 
    {
        return purchaseDetailId;
    }
    public void setPurchaseId(Long purchaseId) 
    {
        this.purchaseId = purchaseId;
    }

    public Long getPurchaseId() 
    {
        return purchaseId;
    }
    public void setSkuId(Long skuId) 
    {
        this.skuId = skuId;
    }

    public Long getSkuId() 
    {
        return skuId;
    }
    public void setPurchaseDetailCount(Long purchaseDetailCount) 
    {
        this.purchaseDetailCount = purchaseDetailCount;
    }

    public Long getPurchaseDetailCount() 
    {
        return purchaseDetailCount;
    }
    public void setPurchaseDetailPrice(Long purchaseDetailPrice) 
    {
        this.purchaseDetailPrice = purchaseDetailPrice;
    }

    public Long getPurchaseDetailPrice() 
    {
        return purchaseDetailPrice;
    }

    @Override
    public String toString() {
        return "GoodsPurchaseDetail{" +
                "purchaseDetailId=" + purchaseDetailId +
                ", purchaseId=" + purchaseId +
                ", skuId=" + skuId +
                ", purchaseDetailCount=" + purchaseDetailCount +
                ", purchaseDetailPrice=" + purchaseDetailPrice +
                ", skuTitle='" + skuTitle + '\'' +
                ", goodsName='" + goodsName + '\'' +
                '}';
    }
}
